/*
 * @Author: your name
 * @Date: 2022-02-23 20:29:55
 * @LastEditTime: 2022-02-23 22:15:53
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /aone_flutter/lib/packages/e01/theme/customer_theme.dart
 */

import 'package:flutter/material.dart';
import 'color_schema.dart';

class CustomTheme {

  static ThemeData get darkTheme {
    return ThemeData(
      // appBarTheme: const AppBarTheme(
      //   backgroundColor: Colors.black,
      //   // titleTextStyle: TextStyle(
      //   //   color: Colors.white,
      //   // ),
      // ),
      appBarTheme: ThemeData.dark().appBarTheme.copyWith(
        backgroundColor: Colors.black
      ),
      primaryColor: Colors.blueAccent,

    );
  }

  static ThemeData get lightTheme {
    return ThemeData(
      // appBarTheme: const AppBarTheme(
      //   backgroundColor: Colors.orangeAccent,
      //   // titleTextStyle: TextStyle(
      //   //   color: Colors.black,
      //   // ),
      // ),
      appBarTheme: ThemeData.light().appBarTheme.copyWith(
          // backgroundColor: ColorSchema().backgroundColor
      ),
      primaryColor: Colors.black54,
    );
  }
}
